<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>添加新闻</title>
	<script>
		function clearContent() {
			editor.html('');
		}
	</script>
</head>
<body>
<h2>添加新闻</h2>
<form action="/S3H3L3/news/addNews.do" id="newsForm" method="post">

<table width="100%">
	<tr>
		<td><label>标题:</label></td>
		<td><input id="title" name="title" width="400px;"/></td>
	</tr>
	<tr>
		<td><label>内容:</label></td>
		<td><%@ include file="/kindeditor-4.0-alpha/examples/editor.jsp" %></td>
	</tr>
	<tr>
		<td>
			<input type="submit" value="提交">
		</td>
		<td>
			<input type="button" value="清空" onclick="clearContent();">
		</td>
	</tr>
</table>
</form>
</body>
</html>